package com.ct.application.sysuser.request;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserBindRolesRequest {

    /**
     * 绑定用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private Long id;
    // 多个角色ID用逗号分割
    @NotBlank(message = "角色ID不能为空")
    private String rolesIds;
}
